﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Main.Master" AutoEventWireup="true"
	CodeBehind="Login.aspx.cs" Inherits="HomeBuhApp.Account.Login" EnableViewState="false"
	EnableViewStateMac="true" %>

<%@ Import Namespace="Resources" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
	<h2>
		<%=Language.LoginHeader %>
	</h2>
	<p>
		<%=Language.EnterUserNamePasswordText %>
	</p>
	<asp:Login ID="LoginUser" runat="server" EnableViewState="false" RenderOuterTable="false">
		<LayoutTemplate>
			<span class="failureNotification">
				<asp:Literal ID="FailureText" runat="server" />
			</span>
			<asp:ValidationSummary ID="ValidationSummary1" ValidationGroup="LoginValidationGroup"
				runat="server" CssClass="failureNotification" />
			<div class="accountInfo">
				<fieldset class="login" runat="server">
					<legend>
						<%=Language.AccountInformation%></legend>
					<div>
						<div>
							<asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" Text="<%$ Resources:Language, UserNameLabel %>" />
							<asp:TextBox ID="UserName" runat="server" CssClass="textEntry" />
							<asp:RequiredFieldValidator ControlToValidate="UserName" ValidationGroup="LoginValidationGroup"
								ErrorMessage="<%$ Resources:Language, UserNameRequired %>" ToolTip="<%$ Resources:Language, UserNameRequired %>"
								runat="server" CssClass="failureNotification">*</asp:RequiredFieldValidator>
						</div>
						<div>
							<asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password" Text="<%$ Resources:Language, PasswordLabel %>" />
							<asp:TextBox ID="Password" runat="server" CssClass="passwordEntry" TextMode="Password" />
							<asp:RequiredFieldValidator ControlToValidate="Password" ValidationGroup="LoginValidationGroup"
								ErrorMessage="<%$ Resources:Language , PasswordRequired %>" ToolTip="<%$ Resources:Language, PasswordRequired %>"
								runat="server" CssClass="failureNotification">*</asp:RequiredFieldValidator>
						</div>
						<div>
							<asp:CheckBox ID="RememberMe" runat="server" />
							<asp:Label ID="RememberMeLabel" runat="server" Text="<%$ Resources:Language, RememberMeLabel %>"
								AssociatedControlID="RememberMe" CssClass="inline" />
						</div>
					</div>
				</fieldset>
				<div class="submitButton">
					<asp:Button ID="Login1" CssClass="button" CommandName="Login" Text="<%$ Resources:Language, LoginLabel %>"
						runat="server" ValidationGroup="LoginValidationGroup" />
				</div>
			</div>
		</LayoutTemplate>
	</asp:Login>
	<div>
		<asp:HyperLink ID="CreateUserLink" runat="server" EnableViewState="false"><%=Language.RegisterTextLink %></asp:HyperLink><%=Language.RegisterTextNotLink %>
	</div>
</asp:Content>
